/* Class48 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Component;

public class Class48 {
	public static JString aClass3_899;
	public int anInt900;
	public int anInt901;
	public static JString aClass3_902 = Class39_Sub5_Sub9.createJString(119, "Bitte versuchen Sie es in ");
	public int anInt903;
	public static int anInt904;
	public static JString aClass3_905;
	public static JString aClass3_906;
	public static int anInt907 = -1;
	public int anInt908;

	public static void method950(byte i) {
		aClass3_899 = null;
		aClass3_906 = null;
		aClass3_902 = null;
		aClass3_905 = null;
	}

	public static boolean method951(RSInterface class39_sub5_sub17, byte i) {
		int i_0_ = class39_sub5_sub17.anInt2078;
		if (Class14.anInt232 == 2) {
			if (i_0_ == 201) {
				Class15.anInt277 = 1;
				Class39_Sub12.aBoolean1489 = true;
				Class66.aClass3_1154 = Class66.aClass3_1164;
				GameCharacter.anInt2285 = 0;
				Class14.aBoolean245 = true;
				Class66.aClass3_1150 = Class19.aClass3_356;
			}
			if (i_0_ == 202) {
				Class15.anInt277 = 2;
				Class39_Sub12.aBoolean1489 = true;
				Class14.aBoolean245 = true;
				GameCharacter.anInt2285 = 0;
				Class66.aClass3_1150 = Class40.aClass3_755;
				Class66.aClass3_1154 = Class66.aClass3_1164;
			}
		}
		if (i_0_ == 205) {
			Class39_Sub5_Sub2.anInt1692 = 250;
			return true;
		}
		if (i_0_ == 501) {
			Class66.aClass3_1154 = Class66.aClass3_1164;
			Class66.aClass3_1150 = Class39_Sub12.aClass3_1496;
			Class39_Sub12.aBoolean1489 = true;
			Class15.anInt277 = 4;
			Class14.aBoolean245 = true;
			GameCharacter.anInt2285 = 0;
		}
		if (i_0_ == 502) {
			Class66.aClass3_1154 = Class66.aClass3_1164;
			Class66.aClass3_1150 = Class32.aClass3_592;
			Class15.anInt277 = 5;
			Class39_Sub12.aBoolean1489 = true;
			GameCharacter.anInt2285 = 0;
			Class14.aBoolean245 = true;
		}
		if (i_0_ >= 300 && i_0_ <= 313) {
			int i_1_ = (i_0_ - 300) / 2;
			int i_2_ = i_0_ & 0x1;
			Class39_Sub5_Sub2.aClass45_1705.method919(0, i_2_ == 1, i_1_);
		}
		if (i_0_ >= 314 && i_0_ <= 323) {
			int i_3_ = i_0_ & 0x1;
			int i_4_ = (i_0_ - 314) / 2;
			Class39_Sub5_Sub2.aClass45_1705.method931(i_3_ == 1, 7961, i_4_);
		}
		if (i_0_ == 324)
			Class39_Sub5_Sub2.aClass45_1705.method918(-22411, false);
		if (i_0_ == 325)
			Class39_Sub5_Sub2.aClass45_1705.method918(-22411, true);
		if (i_0_ == 326) {
			PacketStream.outputStream.writePacket(118);
			Class39_Sub5_Sub2.aClass45_1705.method921(PacketStream.outputStream, -72);
			return true;
		}
		if (i_0_ == 620)
			Class39_Sub12.aBoolean1487 = !Class39_Sub12.aBoolean1487;
		if (i_0_ >= 601 && i_0_ <= 613) {
			Class55.method999(31121);
			if (Class66.aClass3_1163.length() > 0) {
				PacketStream.outputStream.writePacket(119);
				PacketStream.outputStream.writeLong(true, Class66.aClass3_1163.toInt64());
				PacketStream.outputStream.writeByte((byte) -28, i_0_ - 601);
				PacketStream.outputStream.writeByte((byte) -28, Class39_Sub12.aBoolean1487 ? 1 : 0);
			}
		}
		return false;
	}

	public static void method952(Component component, int i, Class9 class9) {
		if (!Class39_Sub5.aBoolean1341) {
			Class45.aClass39_Sub5_Sub10_Sub4_866 = Class39_Sub10.method867((byte) -79, class9, Class39_Sub11.aClass3_1455, Class30.aClass3_533);
			Class18.aClass39_Sub5_Sub10_Sub4_350 = Class39_Sub10.method867((byte) -79, class9, Class43.aClass3_803, Class30.aClass3_533);
			Class47.aClass39_Sub5_Sub10_Sub4_891 = Class39_Sub10.method867((byte) -79, class9, Class34.aClass3_609, Class30.aClass3_533);
			Tile.aClass39_Sub5_Sub10_Sub4_1909 = Class39_Sub10.method867((byte) -79, class9, PacketParser.aClass3_1056, Class30.aClass3_533);
			Class68.aClass39_Sub5_Sub10_Sub4_1189 = Class39_Sub10.method867((byte) -79, class9, Class30.aClass3_545, Class30.aClass3_533);
			Queue.aClass39_Sub5_Sub10_Sub4_973 = Class39_Sub10.method867((byte) -79, class9, Class7.aClass3_107, Class30.aClass3_533);
			CollisionMap.aClass57_514 = Queue.method994(component, 479, 96, (byte) -111);
			Class18.aClass39_Sub5_Sub10_Sub4_350.method695(0, 0);
			OnDemandFetcher.aClass57_1196 = Queue.method994(component, 172, 156, (byte) -127);
			Class39_Sub5_Sub10.method622();
			Class47.aClass39_Sub5_Sub10_Sub4_891.method695(0, 0);
			Class39_Sub5_Sub7.aClass57_1778 = Queue.method994(component, 190, 261, (byte) -110);
			Class45.aClass39_Sub5_Sub10_Sub4_866.method695(0, 0);
			Class23.aClass57_435 = Queue.method994(component, 512, 334, (byte) -104);
			Class39_Sub5_Sub10.method622();
			Class39_Sub5_Sub18.aClass57_2130 = Queue.method994(component, 496, 50, (byte) -116);
			Class18.aClass57_346 = Queue.method994(component, 269, 37, (byte) -122);
			Class39_Sub5_Sub13.aClass57_1867 = Queue.method994(component, 249, 45, (byte) -124);
			Class39_Sub5_Sub10_Sub3 class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(ISAAC.aClass3_1103, -12078, Class30.aClass3_533, class9);
			if (i != -35)
				aClass3_899 = null;
			PacketStream.aClass57_2155 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -124);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Class67.aClass3_1169, i - 12043, Class30.aClass3_533, class9);
			Class55.aClass57_1248 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -126);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Class18.aClass3_348, -12078, Class30.aClass3_533, class9);
			Class57_Sub2.aClass57_1576 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -120);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Class41.aClass3_771, -12078, Class30.aClass3_533, class9);
			Class11.aClass57_182 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -127);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Tile.aClass3_1904, -12078, Class30.aClass3_533, class9);
			Class43.aClass57_812 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -120);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Class39_Sub5_Sub18.aClass3_2125, -12078, Class30.aClass3_533, class9);
			Class63.aClass57_1122 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -104);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Class39_Sub4.aClass3_1340, -12078, Class30.aClass3_533, class9);
			CollisionMap.aClass57_516 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -125);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(Class43.aClass3_822, -12078, Class30.aClass3_533, class9);
			RSInterface.aClass57_2114 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -103);
			class39_sub5_sub10_sub3.method677(0, 0);
			class39_sub5_sub10_sub3 = Class39_Sub5_Sub9.method599(ISAAC.aClass3_1090, -12078, Class30.aClass3_533, class9);
			Queue.aClass57_981 = Queue.method994(component, class39_sub5_sub10_sub3.anInt2478, class39_sub5_sub10_sub3.anInt2474, (byte) -119);
			class39_sub5_sub10_sub3.method677(0, 0);
			Class68.aClass39_Sub5_Sub10_Sub4_1188 = Class39_Sub10.method867((byte) -79, class9, (Class39_Sub5_Sub4_Sub4_Sub1.aClass3_2489), Class30.aClass3_533);
			ObjectDef.aClass39_Sub5_Sub10_Sub4_1927 = Class39_Sub10.method867((byte) -79, class9, ObjectDef.aClass3_1937, Class30.aClass3_533);
			Class39_Sub5_Sub4_Sub4_Sub1.aClass39_Sub5_Sub10_Sub4_2500 = Class39_Sub10.method867((byte) -79, class9, PacketStream.aClass3_2149, Class30.aClass3_533);
			Class35.aClass39_Sub5_Sub10_Sub4_629 = Class68.aClass39_Sub5_Sub10_Sub4_1188.method692();
			Class35.aClass39_Sub5_Sub10_Sub4_629.method691();
			Class65.aClass39_Sub5_Sub10_Sub4_1146 = ObjectDef.aClass39_Sub5_Sub10_Sub4_1927.method692();
			Class65.aClass39_Sub5_Sub10_Sub4_1146.method691();
			Class4.aClass39_Sub5_Sub10_Sub4_67 = Class68.aClass39_Sub5_Sub10_Sub4_1188.method692();
			Class4.aClass39_Sub5_Sub10_Sub4_67.method694();
			Class39_Sub5_Sub16.aClass39_Sub5_Sub10_Sub4_1988 = ObjectDef.aClass39_Sub5_Sub10_Sub4_1927.method692();
			Class39_Sub5_Sub16.aClass39_Sub5_Sub10_Sub4_1988.method694();
			Class34.aClass39_Sub5_Sub10_Sub4_606 = Class39_Sub5_Sub4_Sub4_Sub1.aClass39_Sub5_Sub10_Sub4_2500.method692();
			Class34.aClass39_Sub5_Sub10_Sub4_606.method694();
			Class30.aClass39_Sub5_Sub10_Sub4_539 = Class68.aClass39_Sub5_Sub10_Sub4_1188.method692();
			Class30.aClass39_Sub5_Sub10_Sub4_539.method691();
			Class30.aClass39_Sub5_Sub10_Sub4_539.method694();
			Class39_Sub12.aClass39_Sub5_Sub10_Sub4_1495 = ObjectDef.aClass39_Sub5_Sub10_Sub4_1927.method692();
			Class39_Sub12.aClass39_Sub5_Sub10_Sub4_1495.method691();
			Class39_Sub12.aClass39_Sub5_Sub10_Sub4_1495.method694();
			Class55.aClass39_Sub5_Sub10_Sub4Array1243 = Class39_Sub5_Sub12.method713((byte) 83, class9, Class30.aClass3_533, OnDemandFetcher.aClass3_1200);
			Class18.anIntArray345 = new int[151];
			Class46_Sub1.anIntArray1564 = new int[33];
			Class32.anIntArray586 = new int[151];
			RSInterface.anIntArray2109 = new int[33];
			for (int i_5_ = 0; i_5_ < 33; i_5_++) {
				int i_6_ = 999;
				int i_7_ = 0;
				for (int i_8_ = 0; i_8_ < 34; i_8_++) {
					if ((Class47.aClass39_Sub5_Sub10_Sub4_891.aByteArray2486[i_8_ + (Class47.aClass39_Sub5_Sub10_Sub4_891.anInt2480) * i_5_]) != 0) {
						if (i_6_ != 999) {
							i_7_ = i_8_;
							break;
						}
					} else if (i_6_ == 999)
						i_6_ = i_8_;
				}
				Class46_Sub1.anIntArray1564[i_5_] = i_6_;
				RSInterface.anIntArray2109[i_5_] = i_7_ - i_6_;
			}
			for (int i_9_ = 5; i_9_ < 156; i_9_++) {
				int i_10_ = 999;
				int i_11_ = 0;
				for (int i_12_ = 25; i_12_ < 172; i_12_++) {
					if ((Class47.aClass39_Sub5_Sub10_Sub4_891.aByteArray2486[i_12_ + (Class47.aClass39_Sub5_Sub10_Sub4_891.anInt2480) * i_9_]) == 0 && (i_12_ > 34 || i_9_ > 34)) {
						if (i_10_ == 999)
							i_10_ = i_12_;
					} else if (i_10_ != 999) {
						i_11_ = i_12_;
						break;
					}
				}
				Class18.anIntArray345[i_9_ - 5] = i_10_ - 25;
				Class32.anIntArray586[i_9_ - 5] = -i_10_ + i_11_;
			}
			Class39_Sub5.aBoolean1341 = true;
		}
	}

	static {
		anInt904 = -1;
		aClass3_905 = Class39_Sub5_Sub9.createJString(127, "");
		aClass3_899 = Class39_Sub5_Sub9.createJString(116, "null");
		aClass3_906 = Class39_Sub5_Sub9.createJString(103, "Lade Texturen )2 ");
	}
}
